package com.example.thecharacterbook;

import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.FragmentTransaction;

import android.os.Bundle;

public class MainActivityHelper extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.fragment_the_check);
        TheCheck a = new TheCheck();
        TheCheck_MYSELF b = new TheCheck_MYSELF();
        FragmentTransaction transaction=getSupportFragmentManager().beginTransaction();
        transaction.add(R.id.container,a);
        transaction.add(R.id.container,b);
        transaction.commitAllowingStateLoss();
    }
}